#define _CRT_SECURE_NO_WARNINGS  1
#pragma warning(disable:6031)
//#include<stdio.h>
//int main(void) {
//    int weight;
//    scanf("%d", &weight);
//    int judge = 0;
//    for (int i = 2; i < weight; i += 2) {
//        int result = weight - i;
//        if (result % 2 == 0) {
//            judge = -1;
//            printf("YES, you can divide the watermelon into two even parts.");
//            break;
//        }
//    }
//    if (judge == 0) {
//        printf("NO, you can't divide the watermelon into two even parts.");
//    }
//
//}
#include<stdio.h>
MAX(int x, int y)
{
	if (x > y)
		return x;
	else
		return y;
}
int main()
{
	int a = 0;
	int b = 0;
	scanf("%d %d", &a, &b);
	int res = MAX(a, b);
	printf("%d\n", res);
	return 0;
}
